package spring.angularjs.dao;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import spring.angularjs.domain.Reporttransaction;

@Repository
public class ReportTransactionDAOImpl implements ReportTransactionDAO {

	@Autowired
	private SessionFactory sessionFactory;

	@Override
	public void addReportTransaction(Reporttransaction rtt) {
		sessionFactory.getCurrentSession().save(rtt);
	}

}
